package com.example.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.entity.Netfollows;
import com.example.entity.NetfollowsEntity;
import com.example.mapper.NetfollowsMapper;
import com.example.service.NetfollowsService;

@Service
public class NetfollowsServiceImpl implements NetfollowsService {

	@Autowired
	private NetfollowsMapper netfollowsMapper;
	
	@Override
	public int addNetfollows(NetfollowsEntity ne) {
		// TODO Auto-generated method stub
		return netfollowsMapper.addNetfollows(ne);
	}

	@Override
	public int upNetfollows(NetfollowsEntity ne) {
		// TODO Auto-generated method stub
		return netfollowsMapper.upNetfollows(ne);
	}

	@Override
	public int delNetfollows(Integer id) {
		// TODO Auto-generated method stub
		return netfollowsMapper.delNetfollows(id);
	}

	@Override
	public List<NetfollowsEntity> find(NetfollowsEntity ne) {
		// TODO Auto-generated method stub
		return netfollowsMapper.find(ne);
	}

	@Override
	public int getCount(NetfollowsEntity ne) {
		// TODO Auto-generated method stub
		return netfollowsMapper.getCount(ne);
	}

	@Override
	public List<Netfollows> findNF(NetfollowsEntity ne) {
		// TODO Auto-generated method stub
		return netfollowsMapper.findNF(ne);
	}

}
